$(document).ready(function() {
    $('.paginator a').click(function(e) {
        $('#filters_form').attr('action', this.href);
        $('#filters_form').submit();
        e.preventDefault();
    });

    $('#filters_form').find('select').change( function() {
            this.form.submit()
        }
    );
});
